package com.generator.storageManage.inboundManage.dao;

import com.generator.storageManage.inboundManage.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface InboundManageMap {

    //获取所有采购单的入库信息
    public List<InboundInfo> queryInboundInfo(InboundInfoCondition condition);

    //修改入库状态
    public void updateCgStatus(InboundInfoCondition condition);

    //通过采购单号获取采购单的信息
    public Purchase queryPurchaseById(Purchase purchase);

    //查询所有仓库名
    public List<WareHouse> queryAllWareHouse();

    //添加入库记录
    public Integer inbound(Inbound inbound);
}
